#pragma once
#include <cppunit/extensions/HelperMacros.h>
#include "Parser.h"
#include "Uses.h"
#include "Modifies.h"
#include "DesignExtractor.h"

class TestParser : public CPPUNIT_NS::TestFixture {
	CPPUNIT_TEST_SUITE( TestParser );

	CPPUNIT_TEST( testParser );

	CPPUNIT_TEST_SUITE_END();

public:
	void setUp();
	void tearDown();

	void testParser();

private:
	AST ast;
	ProcTable procTable;
	VarTable varTable;
	Follows follows;
	Parent parent;
	Uses uses;
	Modifies modifies;
	void printVectorPairs(char* dataOf, vector<pair<int, int>> results);
};

